﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace Studio77.PopBall.Views
{
    public partial class StageEndScoreView : UserControl
    {
        public StageEndScoreView()
        {
            InitializeComponent();
        }

        public void SetBonus(int bonus, int remain)
        {
            this.txtBonus.Text = bonus.ToString();
            this.txtRemain.Text = remain.ToString();
        }

        internal void Hide()
        {
            this.Visibility = System.Windows.Visibility.Collapsed;
        }

        internal void Show()
        {
            this.Visibility = System.Windows.Visibility.Visible;
        }
    }
}
